package com.example.permission.repository;

import com.example.permission.entity.ApiResource;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ApiResourceRepository extends JpaRepository<ApiResource, Long> {
    Optional<ApiResource> findByCode(String code);
}